package cn.eleven.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
@Data
@TableName("user")
public class User {
    @TableId(type= IdType.AUTO)
    private Integer id;
    private String username;
    private String email;

    @TableField(exist = false)
    private Integer postId;
    @TableField(exist = false)
    private Integer userId;
    @TableField(exist = false)
    private String title;
    @TableField(exist = false)
    private String content;
    @TableField(exist = false)
    private String topic;
    @TableField(exist = false)
    private ForumPost forumPost;

}
